<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/5/23
  Time: 10:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>登录页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css">
   <style>
       #msg{
           color: red;
       }
   </style>
</head>
<body>

    <div class="container">
        <div class="row">
            <div class="col-md-4">
                <button type="button" class="btn btn-info">（首选项）Primary</button>
                <button type="button" class="btn btn-danger btn-lg" disabled="disabled">（危险）Danger</button>

            </div>
            <div class="col-md-4">
                <%--action表示发送请示的地址
method:请示方式--%>
                    <h2 id="msg"> ${msg}</h2>
                    <form class="form-horizontal" action="${pageContext.request.contextPath}/login" method="post">
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-3 control-label">账号</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" id="inputEmail3" name="username" value="" placeholder="请输入用户名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-3 control-label">密码</label>
                            <div class="col-sm-9">
                                <input type="password" class="form-control" name="password" value="" id="inputPassword3" placeholder="请输入密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox"> Remember me
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-6 col-sm-6">
                                <button type="submit" class="btn btn-success ">登录</button>
                            </div>
                        </div>
                    </form>

            </div>
            <div class="col-md-4">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-6"></div>
                        <div class="col-sm-6"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>


</body>
</html>
